<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
 	<title>Bidi Test 1</title>
  </head>
  <body>
   <h2>Test &lt;bdo/&gt; element and <i>dir</i> attribute</h2>

	<h2>Testing <i>&lt;bdo dir="ltr"&gt;</i>:</h2>
	<p>Source is <i>&lt;bdo dir="ltr"&gt;This is a test of left-to-right text&lt;/bdo&gt;</i>. <br/>The following lines
	should be identical and readable:</p>
	<p>And now the test: <bdo dir="ltr">This is a test of left-to-right text</bdo></p>
	<p>And now the test: This is a test of left-to-right text</p>

	<h2>Testing <i>&lt;bdo dir="rtl"&gt;</i>:</h2>
	<p>Source is <i>&lt;bdo dir="rtl"&gt;txet tfel-ot-thgir fo tset a si sihT&lt;/bdo&gt;</i>. <br/>The following lines
	should be identical and readable:</p>
	<p>And now the test: <bdo dir="rtl">txet tfel-ot-thgir fo tset a si sihT</bdo></p>
	<p>And now the test: This is a test of right-to-left text</p>

	<h2>Testing <i>&lt;span dir="rtl"&gt;</i>:</h2>
	<p>Note that this test <i>should</i> fail on browsers, since the <i>dir</i> attribute is not part of I18N except in OPS 2.</p>
	<p>Source is <i>&lt;span dir="rtl"&gt;txet tfel-ot-thgir fo tset a si sihT&lt;/span&gt;</i>. <br/>The following lines
	should be identical and readable:</p>
	<p>And now the test: <span dir="rtl">txet tfel-ot-thgir fo tset a si sihT</span></p>
	<p>And now the test: This is a test of right-to-left text</p>

  </body>
</html>
